/*
 * CreateServerButtonListener.h
 *
 *  Created on: Oct 24, 2011
 *      Author: gonzalo
 */

#ifndef CREATESERVERBUTTONLISTENER_H_
#define CREATESERVERBUTTONLISTENER_H_


#include "Listener.h"
#include "../Textbox.h"
#include "SDL/SDL.h"

class CreateServerButtonListener: public Listener {
public:
	CreateServerButtonListener(Textbox* host);
	virtual ~CreateServerButtonListener();


	void execute();

private:
	void pushEventsToOpenEditSceneWindow(std::string host);

	Textbox* host;
};

#endif /* CREATESERVERBUTTONLISTENER_H_ */
